package com.groupbuying.sysconfig.service.impl;

import com.groupbuying.sysconfig.dao.SysconfigAlipayMessageDao;
import com.groupbuying.sysconfig.domain.SysconfigAlipayMessageDO;
import com.groupbuying.sysconfig.service.SysconfigAlipayMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class SysconfigAlipayMessageServiceImpl implements SysconfigAlipayMessageService {
	@Autowired
	private SysconfigAlipayMessageDao sysconfigAlipayMessageDao;
	
	@Override
	public Map<String, Object> get(Integer id){
		return sysconfigAlipayMessageDao.get(id);
	}
	
	@Override
	public List<SysconfigAlipayMessageDO> list(Map<String, Object> map){
		return sysconfigAlipayMessageDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return sysconfigAlipayMessageDao.count(map);
	}
	
	@Override
	public int save(SysconfigAlipayMessageDO sysconfigAlipayMessage){
		return sysconfigAlipayMessageDao.save(sysconfigAlipayMessage);
	}
	
	@Override
	public int update(SysconfigAlipayMessageDO sysconfigAlipayMessage){
		return sysconfigAlipayMessageDao.update(sysconfigAlipayMessage);
	}
	
	@Override
	public int remove(Integer id){
		return sysconfigAlipayMessageDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return sysconfigAlipayMessageDao.batchRemove(ids);
	}

	@Override
	public Map<String,String> getByAppliName(String applicationName) {
		return sysconfigAlipayMessageDao.getByAppliName(applicationName);
	}

}
